<include file="Public/min-header" />
<div class="wrapper">
    <include file="Public/breadcrumb"/>
    <section class="content ">
        <!-- Main content -->
        <div class="container-fluid">
            <div class="pull-right">
                <a href="javascript:history.go(-1)" data-toggle="tooltip" title="" class="btn btn-default" data-original-title="返回"><i class="fa fa-reply"></i></a>
            </div>
            <div class="panel panel-default">
                <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-list"></i> 添加会员等级</h3></div>
                <div class="panel-body ">   
                    <!--表单数据-->
                    <form method="post" id="handleposition" action="{:U('Admin/User/levelHandle')}">                    
                        <!--通用信息-->
                        <div class="tab-content col-md-10">                 	  
                            <div class="tab-pane active" id="tab_tongyong">                           
                                <table class="table table-bordered">
                                    <tbody>
                                        <tr>
                                            <td class="col-sm-2">等级名称：</td>
                                            <td class="col-sm-4">
                                                <input type="text" class="form-control" name="level_name" value="{$info.level_name}" >
                                                <span id="err_attr_name" style="color:#F00; display:none;"></span>                                        
                                            </td>
                                            <td class="col-sm-4">设置会员等级名称</td>
                                        </tr>  
                                        <tr>
                                            <td>报单金额：</td><td ><input type="text" class="form-control" name="amount" value="{$info.amount}"></td>
                                            <td class="col-sm-4">设置会员等级所需要的消费额度</td>
                                        </tr>
<!--                                        <tr>
                                            <td>重复消费折扣：</td>
                                            <td><input type="text" class="form-control" name="discount" value="{$info.discount}"></td>
                                            <td class="col-sm-4">折扣率单位为百分比，如输入90，表示该会员等级的用户可以以商品原价的90%购买</td>
                                        </tr> -->
                                        <tr><td>分享积分：</td><td ><input type="text" class="form-control" name="price1_per" value="{$info.price1_per}"></td>
                                            <td class="col-sm-4">多个参数用“ , ”分开，每一个参数代表一代</td>
                                        </tr>
<!--                                        <tr><td>重消奖：</td><td><input type="text" class="form-control" name="price2_per" value="{$info.price2_per}"></td>
                                            <td class="col-sm-4">多个参数用“ , ”分开，每一个参数代表一代</td>
                                        </tr>  -->
                                        <tr><td>本店管理服务费：</td><td><input type="text" class="form-control" name="price3_per" value="{$info.price3_per}"></td>
                                            <td class="col-sm-4">多个参数用“ , ”分开，每一个参数代表一代</td>
                                        </tr>    
                                     <tr><td>品牌店管理服务费:</td><td><input type="text" class="form-control" name="price4_per" value="{$info.price4_per}"></td>
                                            <td class="col-sm-4">多个参数用“ , ”分开，每一个参数代表一代</td>
                                        </tr>    
                                        <tr><td>分店管理服务费：</td><td><input type="text" class="form-control" name="price5_per" value="{$info.price5_per}"></td>
                                            <td class="col-sm-4">多个参数用“ , ”分开，每一个参数代表一代</td>
                                        </tr>
                                        <tr><td>店补：</td><td><input type="text" class="form-control" name="price6_per" value="{$info.price6_per}"></td>
                                            <td class="col-sm-4"></td>
                                        </tr>
                                        <!-- <tr><td>静态日分红封顶：</td><td><input type="text" class="form-control" name="price6_taotal" value="{$info.price6_taotal}"></td>
                                            <td class="col-sm-4">达到些数时 自动停止收益</td>
                                        </tr> -->
                                    </tbody> 
                                    <tfoot>
                                        <tr>
                                            <td><input type="hidden" name="act" value="{$act}">
                                                <input type="hidden" name="level_id" value="{$info.level_id}">
                                            </td>
                                            <td class="col-sm-4"></td>
                                            <td class="text-right"><input class="btn btn-primary" type="buuton" onclick="adsubmit()" value="保存"></td></tr>
                                    </tfoot>                               
                                </table>
                            </div>                           
                        </div>              
                    </form><!--表单数据-->
                </div>
            </div>
        </div>
    </section>
</div>
<script>
    function adsubmit() {
        $('#handleposition').submit();
    }
</script>
</body>
</html>